package com.ruoyi.eqmonitor.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 处置流程记录对象 opt_handle_flow_record
 * @author ruoyi
 * @date 2022-12-05
 */
public class OptHandleFlowRecord extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /** Id */
	@TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 任务Id */
    @Excel(name = "任务Id")
    private Long taskId;

    /** 业务Id */
    @Excel(name = "业务Id")
    private Long businessId;

    /** 环节名称 */
    @Excel(name = "环节名称")
    private String activityName;

     /** 环节标识(任务标识：1指派 2待确认 3确认 4处置中 5清除  事件标识：10事件上报 11事件受理 12派遣人员 13事件确认 14处置反馈 15事件核查 16核查反馈 17主管单位审核 18审核反馈 19事件完结*/
    @Excel(name = "环节标识(任务标识：1指派 2待确认 3确认 4处置中 5清除  事件标识：10事件上报 11事件受理 12派遣人员 13事件确认 14处置反馈 15事件核查 16核查反馈 17主管单位审核 18审核反馈 19事件完结)")
    private Long activityFlag;

    /** 经办人Id */
    @Excel(name = "经办人Id")
    private Long handleUserId;

    /** 经办人姓名 */
    @Excel(name = "经办人姓名")
    private String handleUserName;

    /** 经办时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "经办时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date handleTime;

    /** 处置单位Id */
    @Excel(name = "处置单位Id")
    private Long handleDeptId;

    /** 处置单位名称 */
    @Excel(name = "处置单位名称")
    private String handleDeptName;

    /** 指派意见 */
    @Excel(name = "指派意见")
    private String assignContent;

    /** 处置描述 */
    @Excel(name = "处置描述")
    private String handleDescription;

    /** 处置时限 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处置时限", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date handleTimeLimit;

    /** 处置时长 */
    @Excel(name = "处置时长")
    private Long handleDuration;

    /** 办理意见 */
    @Excel(name = "办理意见")
    private String content;

    /** 应完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "应完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date shouldFinishTime;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    /** 是否超时 */
    @Excel(name = "是否超时")
    private Integer isOverTime;

    /** 超时时长 */
    @Excel(name = "超时时长")
    private Long overTimes;

    /** 结案意见 */
    @Excel(name = "结案意见")
    private String finishContent;

    /** 结案附件Ids */
    @Excel(name = "结案附件Ids")
    private String finishFileIds;

    /** 附件 */
    @Excel(name = "附件")
    private String fileIds;

    /** 视频附件 */
    @Excel(name = "视频附件")
    private String videoIds;

    /** 原负责人Id */
    @Excel(name = "原负责人Id")
    private Long oldUserId;

    /** 原负责人姓名 */
    @Excel(name = "原负责人姓名")
    private String oldUserName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setActivityFlag(Long activityFlag) 
    {
        this.activityFlag = activityFlag;
    }

    public Long getActivityFlag() 
    {
        return activityFlag;
    }
    public void setHandleUserId(Long handleUserId) 
    {
        this.handleUserId = handleUserId;
    }

    public Long getHandleUserId() 
    {
        return handleUserId;
    }
    public void setHandleUserName(String handleUserName) 
    {
        this.handleUserName = handleUserName;
    }

    public String getHandleUserName() 
    {
        return handleUserName;
    }
    public void setHandleTime(Date handleTime) 
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() 
    {
        return handleTime;
    }
    public void setHandleDeptId(Long handleDeptId) 
    {
        this.handleDeptId = handleDeptId;
    }

    public Long getHandleDeptId() 
    {
        return handleDeptId;
    }
    public void setHandleDeptName(String handleDeptName) 
    {
        this.handleDeptName = handleDeptName;
    }

    public String getHandleDeptName() 
    {
        return handleDeptName;
    }
    public void setAssignContent(String assignContent) 
    {
        this.assignContent = assignContent;
    }

    public String getAssignContent() 
    {
        return assignContent;
    }
    public void setHandleDescription(String handleDescription) 
    {
        this.handleDescription = handleDescription;
    }

    public String getHandleDescription() 
    {
        return handleDescription;
    }
    public void setHandleTimeLimit(Date handleTimeLimit) 
    {
        this.handleTimeLimit = handleTimeLimit;
    }

    public Date getHandleTimeLimit() 
    {
        return handleTimeLimit;
    }
    public void setHandleDuration(Long handleDuration) 
    {
        this.handleDuration = handleDuration;
    }

    public Long getHandleDuration() 
    {
        return handleDuration;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setShouldFinishTime(Date shouldFinishTime) 
    {
        this.shouldFinishTime = shouldFinishTime;
    }

    public Date getShouldFinishTime() 
    {
        return shouldFinishTime;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }
    public void setIsOverTime(Integer isOverTime) 
    {
        this.isOverTime = isOverTime;
    }

    public Integer getIsOverTime() 
    {
        return isOverTime;
    }
    public void setOverTimes(Long overTimes) 
    {
        this.overTimes = overTimes;
    }

    public Long getOverTimes() 
    {
        return overTimes;
    }
    public void setFinishContent(String finishContent) 
    {
        this.finishContent = finishContent;
    }

    public String getFinishContent() 
    {
        return finishContent;
    }
    public void setFinishFileIds(String finishFileIds)
    {
        this.finishFileIds = finishFileIds;
    }

    public String getFinishFileIds()
    {
        return finishFileIds;
    }
    public void setFileIds(String fileIds)
    {
        this.fileIds = fileIds;
    }

    public String getFileIds()
    {
        return fileIds;
    }
    public void setVideoIds(String videoIds)
    {
        this.videoIds = videoIds;
    }

    public String getVideoIds()
    {
        return videoIds;
    }

    public void setOldUserId(Long oldUserId)
    {
        this.oldUserId = oldUserId;
    }

    public Long getOldUserId()
    {
        return oldUserId;
    }
    public void setOldUserName(String oldUserName)
    {
        this.oldUserName = oldUserName;
    }

    public String getOldUserName()
    {
        return oldUserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("businessId", getBusinessId())
            .append("activityName", getActivityName())
            .append("activityFlag", getActivityFlag())
            .append("handleUserId", getHandleUserId())
            .append("handleUserName", getHandleUserName())
            .append("handleTime", getHandleTime())
            .append("handleDeptId", getHandleDeptId())
            .append("handleDeptName", getHandleDeptName())
            .append("assignContent", getAssignContent())
            .append("handleDescription", getHandleDescription())
            .append("handleTimeLimit", getHandleTimeLimit())
            .append("handleDuration", getHandleDuration())
            .append("content", getContent())
            .append("shouldFinishTime", getShouldFinishTime())
            .append("finishTime", getFinishTime())
            .append("isOverTime", getIsOverTime())
            .append("overTimes", getOverTimes())
            .append("finishContent", getFinishContent())
            .append("finishFileIds", getFinishFileIds())
            .append("remark", getRemark())
            .append("fileIds", getFileIds())
            .append("videoIds", getVideoIds())
            .append("oldUserId", getOldUserId())
            .append("oldUserName", getOldUserName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}